<template>
        <div class="newscontent">
            <ul>
                <!-- <li>编号：{{ params.id }}</li>
                <li>标题：{{ params.title }}</li>
                <li>内容：{{ params.content }}</li> -->

                 <li>编号：{{ id }}</li>
                <li>标题：{{ title }}</li>
                <li>内容：{{ content }}</li>
            </ul>
        </div>
</template>
    
<script setup lang='ts'>
// import {toRefs} from 'vue'
// import { useRoute } from 'vue-router';
// const route = useRoute()
// let {params} = toRefs(route)

defineProps(['id','title','content'])
</script>
    
<style>
    
</style>